import Taro, { Component } from '@tarojs/taro'
import { View } from '@tarojs/components'
import { getWindowHeight } from '../../utils/common'
import Goodsinfo from "./goodsinfo/goodsinfo";
import Goodsassess from "./goodsassess/goodsassess";
import Goodsbuy from "./goodsbuy/goodsbuy";


import './goodsdetail.less'

class Goodsdetail extends Component {

  config = {
    navigationBarTitleText: '商品详情'
  }
  render () {
    const height = getWindowHeight(50);
    return (
      <View className='Goodsdetail' style={'height:'+ height+';overflow-y:auto'}>
        <Goodsinfo />
        <Goodsassess />
        <Goodsbuy />
      </View>
    )
  }
}

export default Goodsdetail
